package it.basilikos.core.model.dao;

import it.basilikos.core.util.Condition;

import java.util.List;

public interface IBaseDAO<T,I> {

	public void delete(T entity);
	public void deleteById(I entityId);
	public T update(T entity);
	public T create(T entity);
	public T findById(I id);
	public List<T> findByProperties(Condition condition);
	public List<T> findAll();


	 

}
